<h1>Listing milestones</h1>

<table>
  <tr>
    <th>Seeking shelter</th>
    <th>Increases knowledge</th>
    <th>Meets with manager</th>
    <th>Completes plan</th>
    <th>Makes link</th>
    <th>Works on plan</th>
    <th>Regularly meets with manager</th>
    <th>Attends group regularly</th>
    <th>Commits to follow</th>
    <th>Achieves milestone</th>
  </tr>
  
<% for milestone in @milestones %>
  <tr>
    <td><%=h milestone.seeking_shelter %></td>
    <td><%=h milestone.increases_knowledge %></td>
    <td><%=h milestone.meets_with_manager %></td>
    <td><%=h milestone.completes_plan %></td>
    <td><%=h milestone.makes_link %></td>
    <td><%=h milestone.works_on_plan %></td>
    <td><%=h milestone.regularly_meets_with_manager %></td>
    <td><%=h milestone.attends_group_regularly %></td>
    <td><%=h milestone.commits_to_follow %></td>
    <td><%=h milestone.achieves_milestone %></td>
    <td><%= link_to 'Show', milestone_path(milestone) %></td>
    <td><%= link_to 'Edit', edit_milestone_path(milestone) %></td>
    <td><%= link_to 'Destroy', milestone_path(milestone), :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New milestone', new_milestone_path %>